#include<stdio.h>
#define PI 3.1415926
int main()
{
	double r;
	scanf_s("%lf", &r);
	printf("%lf\n", 2 * r * PI);
	printf("%lf\n", r * r * PI);
	printf("%lf\n", 4 / 3 * PI * r * r * r);
}